		<?php 
		if(file_exists(TEMPLATES_PATH.'sites/'.$katana->Id.'/layout/elements/footer/modal.php'))
		{ require(TEMPLATES_PATH.'sites/'.$katana->Id.'/layout/elements/footer/modal.php'); }
		else
		{ require(TEMPLATES_CORE_PATH.'/layout/elements/footer/modal.php'); }
		?>
		<div id="fb-root"></div>
        <?php require(JS_INCLUDE_PATH.'/JsFooter.php'); ?>
        <?php if(file_exists(TEMPLATES_PATH.'sites/'.$katana->getId().'/layout/html_foot_include.php')): ?>
		<?php require(TEMPLATES_PATH.'sites/'.$katana->getId().'/layout/html_foot_include.php'); ?>
        <?php endif; ?>
	</body>
</html>